
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>2.2 HadoopHA搭建规划  · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="Zookeeper介绍.html" />
    
    
    <link rel="prev" href="HadoopHA原理.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    第一章 Hadoop环境搭建
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../chapter1/1.1.html">
            
                <a href="../chapter1/1.1.html">
            
                    
                    1.1 安装JDK
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../chapter1/1.2.html">
            
                <a href="../chapter1/1.2.html">
            
                    
                    1.2 Hadoop伪分布式安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../chapter1/1.3.html">
            
                <a href="../chapter1/1.3.html">
            
                    
                    1.3 完全分布式环境搭建
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    第二章 Hadoop高可用
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="HadoopHA原理.html">
            
                <a href="HadoopHA原理.html">
            
                    
                    2.1 HadoopHA原理与机制
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3.2" data-path="HadoopHA搭建规划.html">
            
                <a href="HadoopHA搭建规划.html">
            
                    
                    2.2 HadoopHA搭建规划 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.3" data-path="Zookeeper介绍.html">
            
                <a href="Zookeeper介绍.html">
            
                    
                    2.3 Zookeeper介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.4" data-path="Zookeeper搭建.html">
            
                <a href="Zookeeper搭建.html">
            
                    
                    2.4 Zookeeper配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3.5" data-path="HadoopHA配置.html">
            
                <a href="HadoopHA配置.html">
            
                    
                    2.5 HadoopHA配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    第三章 动态增删节点与常见配置
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../chapter3/3.1集群节点动态增删.html">
            
                <a href="../chapter3/3.1集群节点动态增删.html">
            
                    
                    3.1 集群节点的动态增删
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../chapter3/3.2常见错误与常用配置.html">
            
                <a href="../chapter3/3.2常见错误与常用配置.html">
            
                    
                    3.2 常见错误与常用配置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >2.2 HadoopHA搭建规划 </a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h2 id="hadoopha&#x96C6;&#x7FA4;&#x642D;&#x5EFA;">HadoopHA&#x96C6;&#x7FA4;&#x642D;&#x5EFA;</h2>
<p>&#x73AF;&#x5883;&#x8BF4;&#x660E;&#xFF1A;</p>
<p>&#x7CFB;&#x7EDF;&#xFF1A;ubuntu18.04 server
&#x8F6F;&#x4EF6;&#xFF1A;hadoop3.1.2&#x3001;JDK8&#x3001;Zookeeper</p>
<h2 id="&#x96C6;&#x7FA4;&#x89C4;&#x5212;">&#x96C6;&#x7FA4;&#x89C4;&#x5212;</h2>
<table>
<thead>
<tr>
<th>ip&#x5730;&#x5740;</th>
<th>&#x4E3B;&#x673A;&#x540D;</th>
<th>&#x5B89;&#x88C5;&#x8F6F;&#x4EF6;</th>
<th>&#x8FDB;&#x7A0B;</th>
</tr>
</thead>
<tbody>
<tr>
<td>192.168.20.101</td>
<td>hadoop-master</td>
<td>hadoop zookeeper jdk</td>
<td>DFSZKFailoverController&#x3001;NameNode&#x3001; ResourceManager</td>
</tr>
<tr>
<td>192.168.20.102</td>
<td>hadoop-back</td>
<td>hadoop zookeeper jdk</td>
<td>DFSZKFailoverController&#x3001;NameNode&#x3001; ResourceManager</td>
</tr>
<tr>
<td>192.168.20.103</td>
<td>hadoop-slave2</td>
<td>hadoop zookeeper jdk</td>
<td>DataNode&#x3001;JournalNode&#x3001;NodeManager</td>
</tr>
<tr>
<td>192.168.20.104</td>
<td>hadoop-slave3</td>
<td>hadoop zookeeper jdk</td>
<td>DataNode&#x3001;JournalNode&#x3001;NodeManager</td>
</tr>
</tbody>
</table>
<h2 id="&#x51C6;&#x5907;&#x5DE5;&#x4F5C;">&#x51C6;&#x5907;&#x5DE5;&#x4F5C;</h2>
<p>&#x5728;&#x642D;&#x5EFA;&#x73AF;&#x5883;&#x4E4B;&#x524D;&#x4F60;&#x9700;&#x8981;&#x5148;&#x914D;&#x7F6E;&#x597D;<strong>Hadoop&#x7684;&#x5B8C;&#x5168;&#x5206;&#x5E03;&#x5F0F;</strong>&#xFF0C;&#x5E76;&#x4E14;&#x642D;&#x5EFA;&#x597D;<code>Zookeeper</code>&#x96C6;&#x7FA4;&#x3002;</p>
<p>&#x4ECE;HA&#x673A;&#x5236;&#x6211;&#x4EEC;&#x53EF;&#x4EE5;&#x53D1;&#x73B0;&#x642D;&#x5EFA;&#x9AD8;&#x53EF;&#x7528;&#x7684;Hadoop&#x96C6;&#x7FA4;&#x9700;&#x8981;&#x4F9D;&#x8D56;<code>Zookeeper</code>&#x7684;&#x7279;&#x6027;&#xFF0C;&#x6240;&#x4EE5;&#x7B2C;&#x4E00;&#x6B65;&#xFF0C;&#x54B1;&#x4EEC;&#x6765;&#x5B8C;&#x6210;<code>Zookeeper</code>&#x7684;&#x5B89;&#x88C5;&#x4E0E;&#x96C6;&#x7FA4;&#x642D;&#x5EFA;&#x3002;</p>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="HadoopHA原理.html" class="navigation navigation-prev " aria-label="Previous page: 2.1 HadoopHA原理与机制">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="Zookeeper介绍.html" class="navigation navigation-next " aria-label="Next page: 2.3 Zookeeper介绍">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"2.2 HadoopHA搭建规划 ","level":"1.3.2","depth":2,"next":{"title":"2.3 Zookeeper介绍","level":"1.3.3","depth":2,"path":"chapter2/Zookeeper介绍.md","ref":"chapter2/Zookeeper介绍.md","articles":[]},"previous":{"title":"2.1 HadoopHA原理与机制","level":"1.3.1","depth":2,"path":"chapter2/HadoopHA原理.md","ref":"chapter2/HadoopHA原理.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"chapter2/HadoopHA搭建规划.md","mtime":"2019-05-06T09:33:34.852Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-06T16:09:52.649Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

